.class Lcom/example/m6wmr/MyCollectActivity$MyAdapter$1;
.super Ljava/lang/Object;
.source "MyCollectActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/MyCollectActivity$MyAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/example/m6wmr/MyCollectActivity$MyAdapter;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/MyCollectActivity$MyAdapter;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/MyCollectActivity$MyAdapter$1;->this$1:Lcom/example/m6wmr/MyCollectActivity$MyAdapter;

    .line 463
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 6
    .param p1, "arg0"    # Landroid/view/View;

    .prologue
    .line 469
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v3

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

    move-result v0

    .line 470
    .local v0, "arg2":I
    new-instance v1, Landroid/content/Intent;

    iget-object v3, p0, Lcom/example/m6wmr/MyCollectActivity$MyAdapter$1;->this$1:Lcom/example/m6wmr/MyCollectActivity$MyAdapter;

    # getter for: Lcom/example/m6wmr/MyCollectActivity$MyAdapter;->this$0:Lcom/example/m6wmr/MyCollectActivity;
    invoke-static {v3}, Lcom/example/m6wmr/MyCollectActivity$MyAdapter;->access$1(Lcom/example/m6wmr/MyCollectActivity$MyAdapter;)Lcom/example/m6wmr/MyCollectActivity;

    move-result-object v3

    # getter for: Lcom/example/m6wmr/MyCollectActivity;->context:Landroid/content/Context;
    invoke-static {v3}, Lcom/example/m6wmr/MyCollectActivity;->access$1(Lcom/example/m6wmr/MyCollectActivity;)Landroid/content/Context;

    move-result-object v3

    const-class v4, Lcom/example/m6wmr/ShopDishesActivity;

    invoke-direct {v1, v3, v4}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 471
    .local v1, "intent":Landroid/content/Intent;
    const-string v4, "shopid"

    iget-object v3, p0, Lcom/example/m6wmr/MyCollectActivity$MyAdapter$1;->this$1:Lcom/example/m6wmr/MyCollectActivity$MyAdapter;

    # getter for: Lcom/example/m6wmr/MyCollectActivity$MyAdapter;->this$0:Lcom/example/m6wmr/MyCollectActivity;
    invoke-static {v3}, Lcom/example/m6wmr/MyCollectActivity$MyAdapter;->access$1(Lcom/example/m6wmr/MyCollectActivity$MyAdapter;)Lcom/example/m6wmr/MyCollectActivity;

    move-result-object v3

    # getter for: Lcom/example/m6wmr/MyCollectActivity;->shopMessages:Ljava/util/ArrayList;
    invoke-static {v3}, Lcom/example/m6wmr/MyCollectActivity;->access$0(Lcom/example/m6wmr/MyCollectActivity;)Ljava/util/ArrayList;

    move-result-object v3

    invoke-virtual {v3, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lbean/ShopBean;

    invoke-virtual {v3}, Lbean/ShopBean;->getShopId()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v4, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 472
    const-string v4, "shopname"

    iget-object v3, p0, Lcom/example/m6wmr/MyCollectActivity$MyAdapter$1;->this$1:Lcom/example/m6wmr/MyCollectActivity$MyAdapter;

    # getter for: Lcom/example/m6wmr/MyCollectActivity$MyAdapter;->this$0:Lcom/example/m6wmr/MyCollectActivity;
    invoke-static {v3}, Lcom/example/m6wmr/MyCollectActivity$MyAdapter;->access$1(Lcom/example/m6wmr/MyCollectActivity$MyAdapter;)Lcom/example/m6wmr/MyCollectActivity;

    move-result-object v3

    # getter for: Lcom/example/m6wmr/MyCollectActivity;->shopMessages:Ljava/util/ArrayList;
    invoke-static {v3}, Lcom/example/m6wmr/MyCollectActivity;->access$0(Lcom/example/m6wmr/MyCollectActivity;)Ljava/util/ArrayList;

    move-result-object v3

    invoke-virtual {v3, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lbean/ShopBean;

    invoke-virtual {v3}, Lbean/ShopBean;->getShopName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v4, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 474
    iget-object v3, p0, Lcom/example/m6wmr/MyCollectActivity$MyAdapter$1;->this$1:Lcom/example/m6wmr/MyCollectActivity$MyAdapter;

    # getter for: Lcom/example/m6wmr/MyCollectActivity$MyAdapter;->this$0:Lcom/example/m6wmr/MyCollectActivity;
    invoke-static {v3}, Lcom/example/m6wmr/MyCollectActivity$MyAdapter;->access$1(Lcom/example/m6wmr/MyCollectActivity$MyAdapter;)Lcom/example/m6wmr/MyCollectActivity;

    move-result-object v3

    const-string v4, "pscost"

    const/4 v5, 0x0

    invoke-virtual {v3, v4, v5}, Lcom/example/m6wmr/MyCollectActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v2

    .line 475
    .local v2, "userInfo":Landroid/content/SharedPreferences;
    invoke-interface {v2}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v4

    const-string v5, "ps"

    iget-object v3, p0, Lcom/example/m6wmr/MyCollectActivity$MyAdapter$1;->this$1:Lcom/example/m6wmr/MyCollectActivity$MyAdapter;

    # getter for: Lcom/example/m6wmr/MyCollectActivity$MyAdapter;->this$0:Lcom/example/m6wmr/MyCollectActivity;
    invoke-static {v3}, Lcom/example/m6wmr/MyCollectActivity$MyAdapter;->access$1(Lcom/example/m6wmr/MyCollectActivity$MyAdapter;)Lcom/example/m6wmr/MyCollectActivity;

    move-result-object v3

    # getter for: Lcom/example/m6wmr/MyCollectActivity;->shopMessages:Ljava/util/ArrayList;
    invoke-static {v3}, Lcom/example/m6wmr/MyCollectActivity;->access$0(Lcom/example/m6wmr/MyCollectActivity;)Ljava/util/ArrayList;

    move-result-object v3

    invoke-virtual {v3, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lbean/ShopBean;

    invoke-virtual {v3}, Lbean/ShopBean;->getpscost()Ljava/lang/String;

    move-result-object v3

    invoke-interface {v4, v5, v3}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v3

    invoke-interface {v3}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 476
    iget-object v3, p0, Lcom/example/m6wmr/MyCollectActivity$MyAdapter$1;->this$1:Lcom/example/m6wmr/MyCollectActivity$MyAdapter;

    # getter for: Lcom/example/m6wmr/MyCollectActivity$MyAdapter;->this$0:Lcom/example/m6wmr/MyCollectActivity;
    invoke-static {v3}, Lcom/example/m6wmr/MyCollectActivity$MyAdapter;->access$1(Lcom/example/m6wmr/MyCollectActivity$MyAdapter;)Lcom/example/m6wmr/MyCollectActivity;

    move-result-object v3

    invoke-virtual {v3, v1}, Lcom/example/m6wmr/MyCollectActivity;->startActivity(Landroid/content/Intent;)V

    .line 478
    return-void
.end method
